package net.xiduth.game.player.dialogues.auto;

import net.xiduth.game.WorldTile;
import net.xiduth.game.player.content.Magic;
import net.xiduth.game.player.dialogues.Dialogue;

public class TrainingTeleports extends Dialogue {

	@Override
	public void start() {	
		stage = 1;
		if (stage == 1) {
			sendOptionsDialogue("Training teleports",
					"<shad=00FF00>Rock crabs (Low-Medium)",
					"<shad=FD3EDA>Hill giants (Medium)",
					"<shad=05F7FF>Black demons (High)",
					"<shad=FF0000>Chaos dwarf battlefield (High)",
					"<shad=FFCD05>Boss / PvM cave (OPEN LVL)");
			stage = 1;
		}
	}

	public void run(int interfaceId, int componentId) {
		if (stage == 1) {
			if (componentId == OPTION_1)
				Magic.sendNormalTeleportSpell(player, 0, 0, new WorldTile(2410,
						3853, 0));
			if (componentId == OPTION_2)
				Magic.sendNormalTeleportSpell(player, 0, 0, new WorldTile(2907, 9725, 0));
			if (componentId == OPTION_3)
				Magic.sendNormalTeleportSpell(player, 0, 0, new WorldTile(2866,
						9777, 0));
			if (componentId == OPTION_4)
				Magic.sendNormalTeleportSpell(player, 0, 0, new WorldTile(1520,
						4704, 0));
			if (componentId == OPTION_5)
				Magic.sendNormalTeleportSpell(player, 0, 0, new WorldTile(1660,
						5257, 0));
		}
	}

	@Override
	public void finish() {

	}

}